package com.meilai.project.controller.web.report.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author xchen
 * @since 2022-04-09
 */
@Data
@ApiModel
public class WeekSummaryVO {
	@ApiModelProperty("区域名称")
	private String area_name;
	@ApiModelProperty("项目id")
	private Long building_area_id;
	@ApiModelProperty("项目名称")
	private String building_area_name;
	@ApiModelProperty("楼层")
	private Integer floor;
	@ApiModelProperty("媒体总数量")
	private Integer media_total_count;

	@ApiModelProperty("各时间段客户占用情况")
	private List<WeekSummaryDateRangeExt> weekSummaryDateRangeExtList;

	public String groupKey() {
		return building_area_id + "-" + floor;
	}

	public String groupKeyByFlow(){
		return building_area_id + "-" + floor + "-";
	}
}
